STEP 14: Let's make our face interactive!

The ask command takes in user input, so we can use it later in our program.

  • Go to and drag out Ask. Drop it at the bottom of your program.
  • Change the name in front of the .ask() from sprite to face.
  • Change the text inside of .ask() from "Yes or no?" to "What color should my face be?".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)